package com.ruoyi.project.newhope.inspection.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 化验项目设置对象 new_hope_inspection
 * 
 * @author ruoyi
 * @date 2021-02-08
 */
public class NewHopeInspection implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 化验编码 */
    @Excel(name = "化验编码")
    private String inspectionCode;

    /** 化验描述 */
    @Excel(name = "化验描述")
    private String inspectionDesc;

    /** 备注 */
    @Excel(name = "备注")
    private String inspectionRemark;

    /** 铃声 */
    @Excel(name = "铃声")
    private Long audioId;
    private String audioName;
    private String audioUrl;

    /** 铃声 */
    @Excel(name = "铃声")
    private Boolean stepSwitch;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInspectionCode(String inspectionCode)
    {
        this.inspectionCode = inspectionCode;
    }

    public String getInspectionCode()
    {
        return inspectionCode;
    }
    public void setInspectionDesc(String inspectionDesc)
    {
        this.inspectionDesc = inspectionDesc;
    }

    public String getInspectionDesc()
    {
        return inspectionDesc;
    }
    public void setInspectionRemark(String inspectionRemark)
    {
        this.inspectionRemark = inspectionRemark;
    }

    public String getInspectionRemark()
    {
        return inspectionRemark;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getAudioId() {
        return audioId;
    }

    public void setAudioId(Long audioId) {
        this.audioId = audioId;
    }

    public String getAudioName() {
        return audioName;
    }

    public void setAudioName(String audioName) {
        this.audioName = audioName;
    }

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public Boolean getStepSwitch() {
        return stepSwitch;
    }

    public void setStepSwitch(Boolean stepSwitch) {
        this.stepSwitch = stepSwitch;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionCode", getInspectionCode())
            .append("inspectionDesc", getInspectionDesc())
            .append("inspectionRemark", getInspectionRemark())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
